package top.dancun.easbaseinfo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author dancun
 * @email message@dancun.top
 * @date 2022-10-21 16:10:50
 */
@Data
@TableName("room")
public class RoomEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 自增主键
	 */
	@TableId
	private Integer id;
	/**
	 * 房间号
	 */
	private String roomNumber;
	/**
	 * 所属楼栋
	 */
	private Integer parentId;

	/**
	 * 所属楼栋名称
	 */
	@TableField(exist = false)
	private String parentName;
	/**
	 * 
	 */
	private String type;
	/**
	 * 容纳人数
	 */
	private Integer capacity;

}
